strange problem,
When compiled in VC++, there is no compile time error but a memory error at run-time.Code:int main(void){ char *a = "123456"; a[2] = 'a' ; printf( "%s", a ); return 0; }
In TCPP 3.0, there is no problem at all.
what is the problem ? THANKS~